package com.base.springboot.starter.mybatisplus.autoconfigure;

import com.base.springboot.starter.mybatisplus.service.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author weixiaodong
 * @date 2020年8月19日09:35:31
 */
@Slf4j
@Configuration
@Import({MyBatisPlusConfiguration.class})
public class MybatisPlusAutoConfiguration {

    @Bean
    public MyMetaObjectHandler initMyMetaObjectHandler() {
        log.info("starter: start initMyMetaObjectHandler ...:" + System.currentTimeMillis());
        return new MyMetaObjectHandler();
    }
}
